Typo fix in TEF.
authorrobertlipe@gmail.com <robertlipe@gmail.com@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 14 Jan 2013 00:17:15 +0000 (00:17 +0000)
committerrobertlipe@gmail.com <robertlipe@gmail.com@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Mon, 14 Jan 2013 00:17:15 +0000 (00:17 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4251 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/tef_xml.cc

index ab5244d826ad83bce2805d0d8b75cb1de4b479d9..550d0d0582a628945d17115648d6706858ffcc05 100644 (file)
@@ -291,7 +291,7 @@ tef_point(const char *args, const char **attrv)
   // FIXME: this code should really not be writing into the arg list.
   while (*avp) {
     if (strcmp(avp[0], "y") == 0) {
-      char *tbuf = xstrdup(avp[0]);
+      char *tbuf = xstrdup(avp[1]);
       comma = strstr(tbuf, ",");
       if (comma) {
         *comma='.';